package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 行为关系表
 * </p>
 *
 * @author chenxuebin
 * @since 2018-11-26
 */
@TableName("t_actgx")
public class Actgx extends Model<Actgx> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private Long uid;
	private Long vuid;

    /**
     * 行为类型@1：我访问的；2：我的访客；3：我的收藏；4；点赞；5：我的客户；6：交换名片；7：同意交换名片；8：跟进；9：放弃客户；10：转让客户；11：被转让客户
     */
	private Integer type;
    /**
     * 是否客户@0：否；1：是#type=5生效
     */
	@TableField("is_kehu")
	private Integer isKehu;
    /**
     * 客户状态@1：新客户；2：初步沟通；3：立项分析；4：方案制定；5：签订合同
     */
	private Integer status;
    /**
     * 客户分组@1：一般客户；2：意向客户；3：已成交客户；4：其他
     */
	@TableField("group_type")
	private Integer groupType;
    /**
     * 标注#type=8生效
     */
	private String title;
    /**
     * 内容#type=8生效
     */
	private String info;
	private String fenlei;
	private String hangye;
	private String phone;


	private String guid;

	private Integer dongtai;
	private Integer isfirst;


	private String name;
	private String avatar;
	private Integer qqcount;

	@TableField(exist = false)
	private Integer count;

	private Integer renqi;

	private String ip;
	private String company;
	private String gs;

	private String visitday;
	private String terminal;
	private Date createtime;
	private Date modifytime;
	private Long mid;
	private Long mpid;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getVuid() {
		return vuid;
	}

	public void setVuid(Long vuid) {
		this.vuid = vuid;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getIsKehu() {
		return isKehu;
	}

	public void setIsKehu(Integer isKehu) {
		this.isKehu = isKehu;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getDongtai() {
		return dongtai;
	}

	public void setDongtai(Integer dongtai) {
		this.dongtai = dongtai;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public String getGs() {
		return gs;
	}

	public void setGs(String gs) {
		this.gs = gs;
	}

	public Integer getGroupType() {
		return groupType;
	}

	public void setGroupType(Integer groupType) {
		this.groupType = groupType;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getVisitday() {
		return visitday;
	}

	public void setVisitday(String visitday) {
		this.visitday = visitday;
	}

	public String getInfo() {
		return info;
	}

	public void setInfo(String info) {
		this.info = info;
	}

	public String getIp() {
		return ip;
	}

	public void setIp(String ip) {
		this.ip = ip;
	}

	public String getTerminal() {
		return terminal;
	}

	public void setTerminal(String terminal) {
		this.terminal = terminal;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public Integer getQqcount() {
		return qqcount;
	}

	public void setQqcount(Integer qqcount) {
		this.qqcount = qqcount;
	}

	public String getFenlei() {
		return fenlei;
	}

	public void setFenlei(String fenlei) {
		this.fenlei = fenlei;
	}

	public String getHangye() {
		return hangye;
	}

	public void setHangye(String hangye) {
		this.hangye = hangye;
	}

	public Integer getCount() {
		return count;
	}

	public void setCount(Integer count) {
		this.count = count;
	}

	public Integer getRenqi() {
		return renqi;
	}

	public void setRenqi(Integer renqi) {
		this.renqi = renqi;
	}

	public Integer getIsfirst() {
		return isfirst;
	}

	public void setIsfirst(Integer isfirst) {
		this.isfirst = isfirst;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Actgx{" +
			"id=" + id +
			", uid=" + uid +
			", vuid=" + vuid +
			", type=" + type +
			", isKehu=" + isKehu +
			", status=" + status +
			", groupType=" + groupType +
			", title=" + title +
			", info=" + info +
			", ip=" + ip +
			", terminal=" + terminal +
			", createtime=" + createtime +
			", mid=" + mid +
			"}";
	}
}
